# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>

pkgname=gdb-dashboard
pkgver=0.16.0
pkgrel=1
pkgdesc='Modular visual interface for GDB in Python'
url='https://github.com/cyrus-and/gdb-dashboard'
arch=('any')
license=('MIT')
depends=('gdb' 'binutils')
optdepends=('python-pygments: syntax highlighting support')
source=(https://github.com/cyrus-and/gdb-dashboard/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('4c83f64f95392ea3c895b6debbe362b965e856d75d783d5053a4977f55a246e6ca53210bed8e42cebada3d4daf579f11ccc17bf0742c035f7dec5413e0beac31')
b2sums=('a63672727cdf3bf7024100f357057919c8b400635711bb35636b55c250fc7b7dc09f1b8098b2e5e1eb27343cc813f899716811c03bbaef8ec5ee98351f0cc074')

package() {
  cd ${pkgname}-${pkgver}
  install -Dm 644 .gdbinit -t "${pkgdir}/usr/share/${pkgname}"
  install -Dm 644 README.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}

# vim: ts=2 sw=2 et:
